package ee.propaganda.gparrot.client.app.ajax;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

import ee.propaganda.gparrot.client.model.LoginInfo;
import ee.propaganda.gparrot.client.model.ServiceInfo;

@RemoteServiceRelativePath("auth")
public interface AuthService extends RemoteService {
	public LoginInfo login(String requestUri);
	public String getAccess(LoginInfo loginInfo, ServiceInfo.ServiceType serviceType) throws NotLoggedInException;
}